

import sys
import os

path = os.path.dirname( __file__)
if path == "":
  base = os.getcwd()
  base = os.path.abspath(base+"\\..")
else:
  base = os.path.abspath(path+"\\..")

dbpath = base +"\\database"

#sys.path.append(dbpath)
print sys.path

from database import u2
#import u2
"""
try:
  from database import u2
except:
  import u2
"""
def test():
  u2.test()
  print "test u1"
if __name__ == "__main__":
  #u2.test()
  test()
